package com.yungu.swift.constants;

/**
 * Copyright © 厦门云谷互联信息有限公司 2018-2020 All Right Reserved
 * <p>
 * 通用模块常量
 *
 * @author Zerrion
 * @since 2018-06-12 18:54
 */
public class CommonConstant {

    /**
     * 业务类型 0：所有业务 1：出租车 2：专车 3：跨城拼车 4：快车业务 5：拼车带货
     **/
    public final static int BUSINESS_ALL = 0;
    public final static int BUSINESS_TYPE_TAXI = 1;
    public final static int BUSINESS_TYPE_SPEC = 2;
    public final static int BUSINESS_TYPE_POOL = 3;
    public final static int BUSINESS_TYPE_EXPRESS = 4;
    public final static int BUSINESS_TYPE_PARCEL = 5;

    /**
     * 时效类型 1：实时 2：预约 3：日租 4：半日租 5：送机 6：接机
     */
    public final static int TYPE_TIME_REAL_TIME = 1;
    public final static int TYPE_TIME_APPIONT = 2;
    public final static int TYPE_TIME_DAILY_RENTAL = 3;
    public final static int TYPE_TIME_HALF_DAILY_RENTAL = 4;
    public final static int TYPE_TIME_SEND_AIRPORT = 5;
    public final static int TYPE_TIME_MEET_AIRPORT = 6;

    /**
     * 行程类型 普通行程订单-1 日租行程-2 半日租行程-3 送机行程-4 接机行程-5
     **/
    public final static int NEW_ORDER_TYPE_TRIP_GENERAL = 1;
    public final static int NEW_ORDER_TYPE_TRIP_DAILY = 2;
    public final static int NEW_ORDER_TYPE_TRIP_HALF = 3;
    public final static int NEW_ORDER_TYPE_TRIP_SEND = 4;
    public final static int NEW_ORDER_TYPE_TRIP_MEET = 5;


    /**
     * 车型 0:所有车型 1：出租车 2：专车 3：跨城拼车 4：快车
     */
    public final static Integer CARTYPE_ALL = 0;
    public static final Integer CAR_TYPE_TAXI = 1;
    public static final Integer CAR_TYPE_SPE = 2;
    public static final Integer CAR_TYPE_POOL = 3;
    public static final Integer CAR_TYPE_EXPRESS = 4;

    /**
     * 跨城拼车-拼车类型 普通拼车-1 包车-2 跨城小件-3 二人快车-4
     **/
    public final static int ORDER_TYPE_JOIN_ORDINARY = 1;
    public final static int ORDER_TYPE_JOIN_CHARTERED = 2;
    public final static int ORDER_TYPE_JOIN_PARCEL = 3;
    public final static int ORDER_TYPE_JOIN_TWO_PERSONS = 4;

    /**
     * 跨城订单需求类型 1普通拼车 2机场专线
     **/
    public final static Integer CROSSTOWN_ORDER_DEMADN_ORDINARY = 1;
    public final static Integer CROSSTOWN_ORDER_DEMADN_AIRPORT_SHUTTLE = 2;

    /**
     * 跨城拼车：线路起终点类型 区域-1 固定点-2
     */
    public final static int POINT_SITE_TYPE_AREA = 1;
    public final static int POINT_SITE_TYPE_POINT = 2;


    /**
     * is_uuid
     */
    public final static Integer IS_UUID = 1;
    /**
     * is_token
     */
    public final static Integer IS_TOKEN = 2;

    /**
     * 来源 1乘客端 10公众号 15H5 20小程序 2司机端
     **/
    public final static int PASSENGER = 1;
    public static final int PASSENGER_PULBIC = 10;
    public static final int PASSENGER_H5 = 15;
    public static final int PASSENGER_APPLET = 20;
    public final static int DRIVER = 2;
    public final static int ADMIN = 3;

    /**
     * APP审核状态 - 0：已审核 - 1：审核中
     **/
    public final static String APP_IS_REVIEW_SUCCESS = "0";
    public final static String APP_IS_REVIEW_WAIT = "1";

    /**
     * App软件包状态 - 0：无效 - 1：有效
     **/
    public final static Integer APP_PKG_STATUS_INVALID = 0;
    public final static Integer APP_PKG_STATUS_VALID = 1;

    /**
     * 统一记录有效状态 0正常 -1删除
     **/
    public final static Integer STATE_NORMAL = 0;
    public final static Integer STATE_DEL = -1;

    /**
     * 统一开通状态 1开通 0未开通
     **/
    public final static Integer STATUS_OPENED = 1;
    public final static Integer STATUS_CLOSED = 0;


    /**
     * 验证码状态 未使用 -1  已使用-2
     **/
    public final static Integer IDENTIFY_CODE_STATUS_UNUSED = 1;
    public final static Integer IDENTIFY_CODE_STATUS_USED = 2;

    /**
     * 二维码礼包限制只限新用户领取 -1 二维码礼包限制只限老用户领取-2
     */
    public final static int LIMIT_DRAW_TYPE_NEW_USER = 1;
    public final static int LIMIT_DRAW_TYPE_OLD_USER = 2;

    /**
     * 消息状态（1:未读、2:已读 、3：删除、4：首页未读删除、5：首页已读删除）
     **/
    public final static int MSG_STATUS_NOREAD = 1;
    public final static int MSG_STATUS_HASREAD = 2;
    public final static int MSG_STATUS_DELETED = 3;
    public final static int MSG_STATUS_HOME_UNREAD_DELETED = 4;
    public final static int MSG_STATUS_HOME_READ_DELETED = 5;


    /**
     * 后台系统配置
     */
    public static final String COMMON_CONFIG = "COMMON_CONFIG";
    public static final String SERVER_CONFIG = "SERVER_CONFIG";
    public static final String PASSENGER_CONFIG = "PASSENGER_CONFIG";
    public static final String DRIVER_CONFIG = "DRIVER_CONFIG";

    /**
     * 标签类型 1、评价；2、投诉；3、捎话；4、取消；5、小件类型；6、小件重量；7、小件体积
     */
    public static final int TAG_TYPE_EVALUATE = 1;
    public static final int TAG_TYPE_COMPLAIN = 2;
    public static final int TAG_TYPE_SEND_ORAL = 3;
    public static final int TAG_TYPE_CANCEL = 4;
    public static final int TAG_TYPE_PARCEL_TYPE = 5;
    public static final int TAG_TYPE_PARCEL_WEIGHT = 6;
    public static final int TAG_TYPE_PARCEL_VOLUME = 7;

    /**
     * 跨城派单模式  1自动 2手动
     */
    public static final int CROSSTOWN_ORDER_ASSIGN_MODEL_AUTO = 1;
    public static final int CROSSTOWN_ORDER_ASSIGN_MODEL_MANUAL = 2;

    /**
     * 用户身份 1乘客 2司机
     */
    public static final int USER_IDENTITY_PASSENGER = 1;
    public static final int USER_IDENTITY_DRIVER = 2;

    /**
     * 文章类型（1：乘客常见问题、2：司机常见问题、3：活动 4：乘客服务协议 5：司机服务协议 6：用户隐私保护策略）
     */
    public static final int ARTICLE_TYPE_PASSENGER_PROBLEM = 1;
    public static final int ARTICLE_TYPE_DRIVER_PROBLEM = 2;
    public static final int ARTICLE_TYPE_ACTIVITY = 3;
    public static final int ARTICLE_TYPE_PASSENGER_ARGGEMENT = 4;
    public static final int ARTICLE_TYPE_DRIVER_ARGGEMENT = 5;
    public static final int ARTICLE_TYPE_PRIVACY_POLICY = 6;

    /**
     * 围栏用途 1火车站
     */
    public static final int FENCE_PURPOSE_STATION = 1;

    /**
     * 是否顺路订单 0否 1是
     */
    public static final int SAME_WAY_ORDER_TRUE = 1;
    public static final int SAME_WAY_ORDER_FALSE = 0;

    /**
     * 顺路模式开关 0关 1开
     */
    public static final int SAME_WAY_MODEL_ON = 1;
    public static final int SAME_WAY_MODEL_OFF = 0;
}
